
<%@ page import="les.Encontro" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'encontro.label', default: 'Encontro')}" />
        <title>Mostrar Encontro</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">Inicio</a></span>
            <span class="menuButton"><g:link class="list" action="list">Listar Encontros</g:link></span>
            <span class="menuButton"><g:link class="create" action="create">Novo Encontro</g:link></span>
        </div>
        <div class="body">
            <h1>Mostrar Encontro</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="encontro.tema.label" default="Tema" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: encontroInstance, field: "tema")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="encontro.dataInicio.label" default="Data Inicio" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${encontroInstance.dataInicio}" format="dd/MM/yyyy"/></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="encontro.lema.label" default="Lema" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: encontroInstance, field: "lema")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="encontro.musicaTema.label" default="Musica Tema" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: encontroInstance, field: "musicaTema")}</td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${encontroInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="Editar" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="Deletar" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
